package com.wang.springframework.test.event;

import com.wang.springframework.context.ApplicationListener;
import com.wang.springframework.context.event.ContextClosedEvent;

/**
 * @author wangjianhua
 * @Description
 * @date 2021/8/30/030 22:41
 */
public class ContextClosedEventListener implements ApplicationListener<ContextClosedEvent> {
    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        System.out.println("关闭事件:"+this.getClass().getName());
    }
}
